﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace jobsheetFinal
{
    public partial class frmChangePassword : Form
    {
        public frmChangePassword()
        {
            InitializeComponent();
        }

        private void btnUpdate_Click(object sender, EventArgs e)
        {
             string newPassword=tbxPassword1.Text;
             string confirmPassword=tbxPassword2.Text;

             if (newPassword == confirmPassword)
             {
 
             }
             else
             {
                 label3.Text="Try Again, the passwords do not match";
             }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            // Page Connection
            this.Hide();
            AllFormClass.LoginForm.Show();
        }
    }
}
